package study.java.jdk.jdk8._5_lambda;

import lombok.extern.slf4j.Slf4j;
import org.junit.Test;

@Slf4j
public class Lambda_Test {

    @Test
    public void test1() {
        Runnable task = new Runnable() {
            @Override
            public void run() {
            }
        };
    }

    @Test
    public void test2() {
        Runnable task = () -> {
        };
    }
}
